package com.example.educationai.service;

import com.example.educationai.entity.SimpleUser;
import java.util.List;

public interface SimpleUserService {
    SimpleUser register(SimpleUser user);
    SimpleUser login(String username, String password);
    SimpleUser getUser(Long id);
    List<SimpleUser> getAllUsers();
    SimpleUser updateUser(SimpleUser user);
    void deleteUser(Long id);
    boolean existsByUsername(String username);
    SimpleUser findByUsername(String username);
    SimpleUser findByEmail(String email);
    boolean existsByEmail(String email);
} 